[ASP. NET Web API tutorial] 5.2 send HTML form data: URL-encoded form data, api5.2
Note: This article is part of the [ASP. NET Web API series tutorial]. If this is the first time you read this series of tutorials, read the previous content first.5.2
In ASP, there are two very common collections, one is Request.QueryString, the other is Request.Form. These two collections can get information submitted by HTML Forms (HTML forms).
Request.QueryString
There are two kinds of method in an HTML form,
In web development, if there is only one INPUT element in the form of the page, press ENTER in the input box of the INPUT element (note: There is no event processing to write the corresponding onkeydown, etc.), then the browser will submit the form
form is one of the main external forms of dynamic Web page implementation. Forms and form fields do not have the ability to compose, and the form page is ultimately organized by a table. HTML forms are an important means of interacting with the
The Web form referred to in this article refers to the framework for developing Web sites based on the. NET platform (which we often call "ASP."), and Web form is actually divided into two parts: Web Form (visual Interface) and ASP (background Web
This article describes how to beautify html form controls using css (Form beautification). For more information, see section 1. Basic syntax structure of html submit and bottom buttons.
1. html submit button
Set type = "submit" in the input label
a static web page (1) static Web page Overview In web design, a Web page in pure HTML (an application under the standard Universal Markup Language) is often referred to as a "static page", and a static web page isA standard HTML file whose file
Form) is used to collect information from user site visitors, and then submit the information to the server for processing. The form can contain various controls that allow users to interact, such as text boxes, list boxes, check boxes, and
Contents of the formOnce the form is created, you can place the control in the form to accept the user's input. These controls are typically used in conjunction with ...... label pairs, or they can be used outside the form to create a user interface.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.